<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<meta name="viewport" content="width=750">
	<meta name="x5-orientation" content="portrait">
	<style type="text/css">
		*{margin: 0;padding: 0;text-decoration: none;list-style: none;font-family: "Microsoft YaHei", "微软雅黑", "黑体";}
		* {
			/*禁止长按选中文字ios有效*/
			-webkit-touch-callout:none;
			-webkit-user-select:none;
			-khtml-user-select:none;
			-moz-user-select:none;
			-ms-user-select:none;
			user-select:none;
			/*pointer-events: none;*/
		}
		body{width: 750px;margin: 0 auto;}
		.img-container{width: 100%;}
		.imgbanner{
			background: url(b1.jpg);
			width: 750px;
			height: 1200px;
		}
		.imgbg {
		    background: url(b2.jpg);
		    width: 750px;
		    height: 701px;
		}
		.img-container .red {
		    width: 457px;
		    height: 622px;
		    margin: -2px auto;
		    display: block;
		    position: relative;
		    top: 40px;
		    left: 22px;
		    background: url(red.png) no-repeat;
		    color: #fff;
		    padding-top: 200px;
		}
		.bf{
			font-size: 88px;
			font-weight: bold;
			background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(rgb(255, 215, 1)), to(rgb(252, 117, 0)));
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			text-align: center;
			margin-left: -30px;
		}
		.f {
		    margin-left: 136px;
		    height: 40px;
		    font-size: 20px;
		}
		.sf {
		    text-align: center;
		    margin-left: -20px;
		    font-size: 18px;
		    margin-top: 20px;
		}
		.btn {
		    background: linear-gradient(to bottom,rgb(255, 215, 1) 0%,rgb(252, 117, 0) 100%);
		    width: 280px;
		    height: 80px;
		    display: block;
		    line-height: 80px;
		    text-align: center;
		    box-shadow: 1px 1px 2px 2px #000;
		    font-size: 30px;
		    margin: 0 auto;
		    position: relative;
		    left: -20px;
		    cursor: pointer;
		}
		.btn:active{
			background: linear-gradient(to bottom, rgb(252, 117, 0) 0%,rgb(255, 215, 1) 100%);
		}
		.img-container>img{width: 100%;margin: -2px 0;}
		.img-container .red{
			/*width: auto;*/
		}
		.fn1{
			background: url(border.png);
		}
		.fn2 {
		    background: url(split.png) no-repeat center top;
		    height: 194px;
		    margin: 0 auto;
		    padding-top: 70px;
		    color: #fff;
		    text-align: center;
		}
		.fn2 h4{
			font-size: 26px;
		}
		.fn2 p{
			font-size: 18px;
			line-height: 40px;
		}
		.spance{
			height: 668px;
		}
	</style>
</head>
<body onorientationchange="updateOrientation();">
	<div class="img-container imgbanner">
		<div class="spance"></div>
		<div class="fn1">
			<p>2017年7月6日—2017年7月12日，</p>
			<p>先领券，后投资，</p>
			<p>两重7%加息齐下，别人降息，我们就要任性加息！</p>
		</div>
		<div class="fn2">
			<h4>加息券免费送</h4>
			<p>活动期间，每天白送5张7%加息券，领完再投资，让你赚到high！</p>
		</div>
	</div>
	<div class="img-container imgbg">
		<div class="red">
			<p class="bf">7%</p>
			<p class="f">加息时长：30天</p>
			<p class="f">起投金额：1000元</p>
			<p class="f">有效期：1天</p>
			<a class="btn">点击领取</a>
			<p class="sf">您还可以领取X张</p>
		</div>
	</div>
	
	<div class="img-container"><img src="" alt=""></div>
	<script type="text/javascript">
		// 检测横屏竖屏切换
		function updateOrientation(){
			// alert(1);
			return false;
		}
		window.onload=function(){
			var screenWidth=screen.width;
			var scrollBL=screenWidth/750;
			var meta=document.getElementsByName("viewport")[0];
			// 如果 meta 标签中指定了 initial-scale， 该方法将不做处理（即不执行）。
			meta.setAttribute("content","width=750,initial-scale="+scrollBL+",minimum-scale="+scrollBL+",maximum-scale="+scrollBL+",user-scalable=no");
			document.querySelector(".btn").addEventListener("click",function (){
				// alert(1)
			})
		}
	</script>
</body>
</html>